package com.example.springboot.dto;

import java.math.BigDecimal;

public class PaymentDTO {
    private Integer orderId;  // 将 Long 改为 Integer
    private Integer userId;   // 将 Long 改为 Integer
    private BigDecimal orderAmount;
    private String paymentMethod;
    private String paymentStatus;
    private String transactionId;
    private String orderType;  // 添加 orderType 字段

    // Getters and Setters
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(String paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getOrderType() {  // 添加 getter
        return orderType;
    }

    public void setOrderType(String orderType) {  // 添加 setter
        this.orderType = orderType;
    }
}
